FernleafSystems\Wordpress\Plugin\Shield\Modules\LoginGuard\Lib\TwoFactor\Provider\GoogleAuth S

Total Complexity 38
Dependencies 12
Dependents 3
Total lines 275
Lines of code 197
Logical lines of code 67
Comment lines 49
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
handleUserProfileSubmit()
S
52 5 24
validateGaCode()
S
59 4 14
getProviderSpecificRenderData()
S
49 3 29
activateGaOnAccount()
S
57 2 17
getGaRegisterChartUrl()
S
61 2 12
auditLogin()
S
64 2 11
isProfileActive()
S
78 2 3
getQrImage()
S
64 2 10
isSecretValid()
S
78 2 3
getSecret()
S
74 2 4
getGaSecret()
S
64 2 10
genNewSecret()
S
68 2 8
getFormField()
S
61 1 13
processOtp()
S
79 1 3
getJavascriptVars()
S
70 1 7
processRemovalFromAccount()
S
74 1 5
removeGaOnAccount()
S
68 1 7
getGaRegisterChartUrlShieldNet()
S
66 1 10
isProviderEnabled()
S
76 1 4
getProviderName()
S
82 1 3